package com.mz.mattress.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.mattress.admin.api.req.BlackQueryReq;
import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.Black;

import java.util.Set;

public interface BlackService {

    Result<IPage<Black>> listPage(BlackQueryReq req);

    Result<Black> getById(Integer id);

    Result add(Black black);

    Result updateById(Black black);

    Result deleteByIds(Set<Integer> ids);

}
